package com.csii.ssm.mapper;

import com.csii.ssm.core.MyMapper;
import com.csii.ssm.model.Rule;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

@Repository
public interface RuleMapper extends MyMapper<Rule> {

    /**
     * 获取公共的系统资源集合
     * 约定,子要在 com.csii.ssm.model.type.RuleType.Type.SUPERADMIN 之下定义的都公共交易都无需正在系统级别规则下定义
     * @param ruleType
     * @return
     */
    String selectAuthListStrByRuleType(String ruleType);
}